﻿
common_guide_desc = {
    module_name = 'common_guide',
    events = {
    {
            c_event = 
            {
                {
                    id = ierd_tgp.login_mgr.LOGIN_ON_LOGIN_SUCCESS,
                    callback = "common_guide_control_mgr.on_login_success"
                }
            },
            lua_event = 
            {
               {
                    id = banner_event.FOCUS_BANNER_ITEM,
                    callback = "common_guide_control_mgr.handle_banner_switch"
                },
            },
            reg_service = {
                {
                },
            },
            listen_broadcast = {
                {
                    id = "i_broadcast_close_main_wnd",
                    callback = "common_guide_control_mgr.on_close_main_wnd"
                },
                {
                    id = "i_broadcast_cloud_game_cfg_info",
                    callback = "common_guide_control_mgr.on_cloud_game_cfg_info_brc"
                },
            },
            lua_file = 'common_guide\\common_control.lua'
        }
    }
};

desc_mgr.add(common_guide_desc);
ierd_tgp.tpf_ui.Require("common_guide\\control.lua");